package org.apache.util;

import java.util.Date;
import java.util.List;

import org.apache.model.Event;

public class LogUtil {

    public static void logs(List<Event> events) {

        for (Event e : events) {
            System.out.println(":::::::::::::::::::::::::::");
            System.out.println("Event : " + e.getName());
            System.out.println(":: Home team : " + e.getHomeName() + "  VS  Away team : " + e.getAwayName() + " ::");
            System.out.println(":: Current time  : " + e.getPlayTime() + " ::");
            System.out.println(":: Total goal : " + e.getTotalGoal() + " ::");
            System.out.println(":: Location : " + e.getLocation() + "  ::");
            System.out.println(":::::::::::::::::::::::::::");
        }
    }

    public static void logStart() {

        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!Started dig gold!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");

    }

    public static void logWaitingNextTime(Float waitingNextTime) {

        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println(":::Will waiting next time for : " + waitingNextTime + " minutes !!!");
        System.out.println(new Date());
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println("!!!!!!!!!!!!!!!!!!!!!!!!");
        System.out.println();
        System.out.println();
        System.out.println();
        System.out.println();
    }
}
